package org.example.xx2.dto;

import jakarta.validation.constraints.NotBlank;

public class ForgotPasswordRequest {
    @NotBlank(message = "用户名不能为空")
    private String account;
    private String asw;
    private String phone;
    private String email;
    private String verificationCode;
    private String newPassword;
    private String confirmPassword;
    
    // 找回方式：QUESTION-密码问题，PHONE-手机号，EMAIL-邮箱
    private String type;

    public String getAccount() { return account; }
    public void setAccount(String account) { this.account = account; }
    public String getAsw() { return asw; }
    public void setAsw(String asw) { this.asw = asw; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }
    public String getVerificationCode() { return verificationCode; }
    public void setVerificationCode(String verificationCode) { this.verificationCode = verificationCode; }
    public String getNewPassword() { return newPassword; }
    public void setNewPassword(String newPassword) { this.newPassword = newPassword; }
    public String getConfirmPassword() { return confirmPassword; }
    public void setConfirmPassword(String confirmPassword) { this.confirmPassword = confirmPassword; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
} 